package knowledge.home.action;

import javax.annotation.Resource;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.googlecode.jtiger.core.dao.hibernate.BaseHibernateDao;
import com.googlecode.jtiger.core.webapp.struts2.action.PagedAction;
import com.googlecode.jtiger.modules.security.user.annotation.URLResource;

/**
 * 系统首页Action
 * 
 * @author sam
 */
@URLResource(ignored = true)
@Controller
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
public class IndexAction extends PagedAction {

	@Resource
	private BaseHibernateDao dao;

	/**
	 * 进入系统首页
	 */
	public String index() {

		return "index";
	}

}
